home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / WimpSWIs / s / 21DecodeM < prev    next >
Text File  |  1995-08-26  |  1KB  |  52 lines

  1. ;
  2. ;       Title                  : Wimp Decode Menu
  3. ;       System                 : Wimp Library
  4. ;       Version                : 1.0
  5. ;       Copyright              : (C) John Winters
  6. ;       Date                   : 12th January, 1990
  7. ;       Author                 : John H. Winters
  8. ;
  9. ;       Function               : Decodes a menu result.
  10. ;
  11. ;
  12. ;       Modification history.
  13. ;
  14. ;       Version                : (Reflect in header IDENT)
  15. ;       Date                   :
  16. ;       Author                 :
  17. ;       Changes                :
  18. ;
  19. ;
  20. ;============================================================================
  21. ;
  22. ;  Include files.
  23. ;
  24. ;============================================================================
  25. ;
  26.         GET     ^.h.regdefs
  27.         GET     ^.h.swinos
  28.         GET     ^.h.macros
  29. ;
  30. ;============================================================================
  31. ;
  32. ;  Code.
  33. ;
  34. ;============================================================================
  35. ;
  36.         PREAMBLE
  37.         STARTCODE Wimp_DecodeMenu
  38. ;
  39. ;        STMFD   sp!, {lr}
  40.         MOV      ip, lr
  41.  
  42.         MOV     a4, a3
  43.         MOV     a3, a2
  44.         MOV     a2, a1
  45.         SWI     SWI_Wimp_DecodeMenu + XOS_Bit
  46.         MOVVC   a1, #0
  47.  
  48.         MOVS    pc, ip
  49. ;        LDMFD   sp!, {pc}^
  50. ;
  51.         END
  52.